package com.freemalll.merchant.domain.entity.merchantParameters;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 参数详情表
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_params_detail")
@Schema(description = "参数详情表")
public class MerParamsDetail extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @Schema(description = "参数模板id")
    @TableField("mer_params_id")
    private String merParamsId;

    @Schema(description = "父节点id")
    @TableField("parent_id")
    private String parentId;

    @Schema(description = "对应的key")
    @TableField("param_key")
    private String paramKey;

    @Schema(description = "参数名称")
    @TableField("param_name")
    private String paramName;

    @Schema(description = "排序码")
    @TableField("order_no")
    private Integer orderNo;

    @Schema(description = "层级")
    @TableField("level_no")
    private Integer levelNo;


}
